<template>
  <div class="real-time-water">
    <div class="real-time-title">
      <img :src="titleImg" alt="realTimeImg" class="real-time-img">
      <div class="title-text">{{ name }}</div>
    </div>
    <slot></slot>
  </div>
</template>

<script lang="ts" setup>
  import { ref } from "vue";
  import { titleImg } from './filePath';
  const props = defineProps<{ name: string; }>()
</script>

<style lang="less" scoped>
  @import './title.less';
</style>